<!doctype html>
<!--[if lt IE 8 ]><html lang="en" class="no-js ie ie7"><![endif]-->
<!--[if IE 8 ]><html lang="en" class="no-js ie"><![endif]-->
<!--[if (gt IE 8)|!(IE)]><!--><html lang="en" class="no-js"><!--<![endif]-->
<head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

        <title>Team List</title>
        <meta name="description" content="">
        <meta name="author" content="">

        <!-- Combined stylesheets load -->
        <!-- Load either 960.gs.fluid or 960.gs to toggle between fixed and fluid layout -->
        <link href="css/main.css" rel="stylesheet" type="text/css">

        <!-- Favicon -->
        <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
        <link rel="icon" type="image/png" href="favicon-large.png">
        <script src="js/index.js"></script>
        <script src="js/jquery.js"></script>
        <script src="js/jquery-ui.js"></script>
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
		<script type="text/javascript" src="js/jstab.js"></script>
    </head>

<body>

	<!-- Header -->

	<!-- Server status -->
	<header></header>
	<!-- End server status -->

	<!-- Main nav -->
	<nav id="main-nav">

		<ul class="container_12">
			<li class="home current">
				<ul>

					<li><a href="homepage.htm" title="Home">Home</a></li>
					
					<!-- Organisations menu -->
					<li class="with-menu"><a href="javascript:void(0)" title="Organisations">Organisations</a>
						<div class="menu">
							<img src="images/menu-open-arrow.png" width="16" height="16">
							<ul>
								<li class="icon_address"><a href="addOrganisation.htm">List Organisation</a></li>
								<li class="icon_export"><a href="javascript:void(0)">Add Organisation</a></li>								
								<li class="sep"></li>
								
								<li class="icon_blog"><a href="javascript:void(0)">Supporting Materials Maintenance</a>
											<ul>
												<li class="icon_address"><a href="javascript:void(0)">List Supporting Material</a></li>
												<li class="icon_export"><a href="javascript:void(0)">Add Supporting Material</a></li>												
											</ul>
								</li>
								
								<li class="icon_blog"><a href="javascript:void(0)">Directorate Maintenance</a>
											<ul>
												<li class="icon_address"><a href="javascript:void(0)">List Directorate</a></li>
												<li class="icon_export"><a href="javascript:void(0)">Add Directorate</a></li>												
											</ul>
								</li>
								
								<li class="icon_blog"><a href="javascript:void(0)">Department Maintenance</a>
											<ul>
												<li class="icon_address"><a href="javascript:void(0)">List Department</a></li>
												<li class="icon_export"><a href="javascript:void(0)">Add Department</a></li>												
											</ul>
								</li>
								
								<li class="icon_blog"><a href="javascript:void(0)">Team Maintenance</a>
											<ul>
												<li class="icon_address"><a href="javascript:void(0)">List Team</a></li>
												<li class="icon_export"><a href="javascript:void(0)">Add Team</a></li>												
											</ul>
								</li>
							</ul>
						</div>
					</li>
					
					<!-- Services menu -->
					<li class="with-menu"><a href="javascript:void(0)" title="Organisations">Services</a>
						<div class="menu">
							<img src="images/menu-open-arrow.png" width="16" height="16">
							<ul>
								<li class="icon_address"><a href="javascript:void(0)">List Service</a></li>
								<li class="icon_export"><a href="javascript:void(0)">Add Service</a></li>
								<li class="icon_refresh"><a href="javascript:void(0)">Amend Service</a></li>
								<li class="sep"></li>
								
								<li class="icon_blog"><a href="javascript:void(0)">Programme</a>
											<ul>
												<li class="icon_address"><a href="listProgramme.htm">List Programme</a></li>
												<li class="icon_export"><a href="addProgramme.htm">Add Programme</a></li>												
											</ul>
								</li>
							</ul>
						</div>
					</li>
					
					<!-- Geography menu -->
					<li class="with-menu"><a href="javascript:void(0)" title="Organisations">Geography</a>
						<div class="menu">
							<img src="images/menu-open-arrow.png" width="16" height="16">
							<ul>
								<li class="icon_blog"><a href="javascript:void(0)">Edit Programme</a>
											<ul>
												<li class="icon_address"><a href="javascript:void(0)">List Trust Region</a></li>
												<li class="icon_export"><a href="javascript:void(0)">Add Trust Region</a></li>												
											</ul>
								</li>
								<li class="icon_blog"><a href="javascript:void(0)">Trust District Maintenance</a>
											<ul>
												<li class="icon_address"><a href="javascript:void(0)">List Trust District</a></li>
												<li class="icon_export"><a href="javascript:void(0)">Add Trust District</a></li>												
											</ul>
								</li>
								<li class="icon_blog"><a href="javascript:void(0)">Government Office Region</a>
											<ul>
												<li class="icon_address"><a href="listGovernment.htm">List Government Office Region</a></li>
											</ul>
								</li>
							</ul>
						</div>
					</li>
					
					<!-- Premises menu -->
					<li class="with-menu"><a href="javascript:void(0)" title="Organisations">Premises</a>
						<div class="menu">
							<img src="images/menu-open-arrow.png" width="16" height="16">
							<ul>
								<li class="icon_address"><a href="javascript:void(0)">List Premises</a></li>
								<li class="icon_export"><a href="javascript:void(0)">Add Premises</a></li>
								<li class="icon_refresh"><a href="javascript:void(0)">Amend Premises</a></li>
								<li class="icon_computer"><a href="javascript:void(0)">Facility Maintenance</a></li>
								<li class="icon_terminal"><a href="javascript:void(0)">Volunteering Opportunity</a></li>
								<li class="icon_battery"><a href="javascript:void(0)">Minor Work Projects</a></li>
								<li class="icon_building"><a href="javascript:void(0)">Services</a></li>
								
							</ul>
						</div>
					</li>
				</ul>
			</li>

		</ul>
	</nav>
	<!-- End main nav -->

	<!-- Sub nav -->
	<div id="sub-nav"><div class="container_12">	

	</div></div>
	<!-- End sub nav -->

	<!-- Status bar -->
	<div id="status-bar"><div class="container_12">

		<ul id="status-infos">
			<li class="spaced">Logged as: <strong>Admin</strong></li>
			<li>
				<a href="javascript:void(0)" class="button" title="5 messages"><img src="images/icons/fugue/mail.png" tppabs="http://www.display-inline.fr/demo/constellation/template/images/icons/fugue/mail.png" width="16" height="16"> <strong>5</strong></a>
			</li>
			<li>
				<a href="javascript:void(0)" class="button" title="25 comments"><img src="images/icons/fugue/balloon.png" tppabs="http://www.display-inline.fr/demo/constellation/template/images/icons/fugue/balloon.png" width="16" height="16"> <strong>25</strong></a>
			</li>
			<li><a href="login.html" class="button red" title="Logout"><span class="smaller">LOGOUT</span></a></li>
		</ul>

		<!-- v1.5: you can now add class red to the breadcrumb -->
		<!--
		<ul id="breadcrumb">
			<li><a href="javascript:void(0)" title="Home">Home</a></li>
			<li><a href="javascript:void(0)" title="Dashboard">Dashboard</a></li>
		</ul>-->

	</div></div>
	<!-- End status bar -->

	<div id="header-shadow"></div>
	<!-- End header -->

	<!-- Always visible control bar -->
	<div id="control-bar" class="grey-bg clearfix"><div class="container_12">

	</div></div>
	<!-- End control bar -->

	<!-- Content -->
	<article class="container_12">
		
		<section class="grid_8">
			<div class="block-border"><form class="block-content form" id="table_form" method="post" action="">
				<ul class='tabs'>
				<li><a href='#tab1'>Detail 1</a></li>

				
				
				
				<!-- submit form -->
				
			
					
								
							
				
				<!-- end submit form -->
			</ul>
			
				<h1>Team List</h1>
				
				<div id ='tab1' class="block-controls">
					<div class="float-right">
					<a class="button red" title="Add" href="AddTeam.htm">
					<span class="smaller">CREATE</span>
					</a>
					<input type="checkbox" value="1" name="selected"/>
						<label for="table-display" style="display:inline">Include In-Active</label>

					</div>

					<ul  class="controls-buttons">
					<li>

							<li>
							<a title="Refesh" href="javascript:void(0)">
							<strong>
							<img height="16" width="16" src="images/icons/fugue/arrow-circle.png"> ALL
							</strong>
							</a>
						</li>
						<li class="sep"></li>
						<li>
							<a href="javascript:void(0)">
							<strong>0-9</strong>
							</a>
						</li>
						<li>
							<a href="javascript:void(0)">
							<strong>A B C D E</strong>
							</a>
						</li>

						<li>
							<a href="javascript:void(0)">
							<strong>F G H  I J</strong>
							</a>
						</li>

						<li>
							<a href="javascript:void(0)">
							<strong>K L M N</strong>
							</a>
						</li>

						<li>
							<a href="javascript:void(0)">
							<strong>O P Q R</strong>
							</a>
						</li>

						<li>
							<a href="javascript:void(0)">
							<strong>S T U V</strong>
							</a>
						</li>

						<li>
							<a href="javascript:void(0)">
							<strong>W X Y Z</strong>
							</a>
						</li>
					</li>
					</ul>

					
				
				
				</table>
					<table class="table" id="tablepaging" cellspacing="0" width="100%">
					
						<thead>
							<tr>
								<th scope="col">Team Name</th>											
								<th scope="col">Address Line 1</th>
								<th scope="col">Postcode</th>
								<th scope="col">Contact</th>
								<th scope="col">Is-Active?</th>
							
								
							</tr>
						</thead>
						<tbody>
							<tr>
								
								<td><a href='EditTeam.htm'>Team Name 1<a/></td>
								<td>Programme 1</td>
								<td>No description</td>
								<td>No description</td>
								<td>Yes</td>
								
								
							</tr>
							<tr>
								
								<td><a href='EditTeam.htm'>Team Name 2<a/></td>
								<td>Programme 2</td>
								<td>No description</td>
								<td>No description</td>
								<td>Yes</td>
								
								
							</tr>
							<tr>
								
								<td><a href='EditTeam.htm'>Team Name 3<a/></td>
								<td>Programme 3</td>
								<td>No description</td>
								<td>No description</td>
								<td>Yes</td>
								
								
							</tr>
							<tr>
								
								<td><a href='EditTeam.htm'>Team Name 4<a/></td>
								<td>Programme 4</td>
								<td>No description</td>
								<td>No description</td>
								<td>Yes</td>
								
								
							</tr>
							<tr>
								
								<td><a href='EditTeam.htm'>Team Name 5<a/></td>
								<td>Programme 5</td>
								<td>No description</td>
								<td>No description</td>
								<td>Yes</td>
								
								
							</tr>
							<tr>
								
								<td><a href='EditTeam.htm'>Team Name 6<a/></td>
								<td>Programme 6</td>
								<td>No description</td>
								<td>No description</td>
								<td>Yes</td>
							
								
							</tr>
							<tr>
								
								<td><a href='EditTeam.htm'>Team Name 7<a/></td>
								<td>Programme 7</td>
								<td>No description</td>
								<td>No description</td>
								<td>Yes</td>
								
								
							</tr>
							

							

						</tbody>
					
					</table>

				</div>

				
				<div class="block-footer" id="pageNavPosition">					
					<script type="text/javascript">
						var pager = new Pager('tablepaging', 5);
						pager.init();
						pager.showPageNav('pager', 'pageNavPosition');
						pager.showPage(1);
					</script>
				</div>	

			</form></div>
		</section>
	
		


		<div class="clear"></div>

	</article>

	<!-- End content -->

	<footer>

		<div class="float-right">
			<a href="#top" class="button"><img src="images/icons/fugue/navigation-090.png" tppabs="http://www.display-inline.fr/demo/constellation/template/images/icons/fugue/navigation-090.png" width="16" height="16"> Page top</a>
		</div>

	</footer>

	<!--

	Updated as v1.5:
	Libs are moved here to improve performance

	-->

	<!-- Plugins -->
	<script src="js/libs/jquery.dataTables.min.js" tppabs="http://www.display-inline.fr/demo/constellation/template/js/libs/jquery.dataTables.min.js"></script>
	<script src="js/libs/jquery.datepick/jquery.datepick.min.js" tppabs="http://www.display-inline.fr/demo/constellation/template/js/libs/jquery.datepick/jquery.datepick.min.js"></script>

	<!-- Charts library -->
	<!--Load the AJAX API-->
	<script src="js/www.google.com/jsapi" tppabs="http://www.google.com/jsapi"></script>
	<script type="text/javascript">

		/*
		 * This script is dedicated to building and refreshing the demo chart
		 * Remove if not needed
		 */

		// Load the Visualization API and the piechart package.
		google.load('visualization', '1', {'packages':['corechart']});

		// Add listener for tab
		$('#tab-stats').onTabShow(function() { drawVisitorsChart(); }, true);

		// Handle viewport resizing
		var previousWidth = $(window).width();
		$(window).resize(function()
		{
			if (previousWidth != $(window).width())
			{
				drawVisitorsChart();
				previousWidth = $(window).width();
			}
		});

		// Demo chart
		function drawVisitorsChart() {

			// Create our data table.
			var data = new google.visualization.DataTable();
			var raw_data = [['Website', 50, 73, 104, 129, 146, 176, 139, 149, 218, 194, 96, 53],
							['Shop', 82, 77, 98, 94, 105, 81, 104, 104, 92, 83, 107, 91],
							['Forum', 50, 39, 39, 41, 47, 49, 59, 59, 52, 64, 59, 51],
							['Others', 45, 35, 35, 39, 53, 76, 56, 59, 48, 40, 48, 21]];

			var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];

			data.addColumn('string', 'Month');
			for (var i = 0; i < raw_data.length; ++i)
			{
				data.addColumn('number', raw_data[i][0]);
			}

			data.addRows(months.length);

			for (var j = 0; j < months.length; ++j)
			{
				data.setValue(j, 0, months[j]);
			}
			for (var i = 0; i < raw_data.length; ++i)
			{
				for (var j = 1; j < raw_data[i].length; ++j)
				{
					data.setValue(j-1, i+1, raw_data[i][j]);
				}
			}

			// Create and draw the visualization.
			var div = $('#chart_div');
			new google.visualization.ColumnChart(div.get(0)).draw(data, {
				title: 'Monthly unique visitors count',
				width: div.width(),
				height: 330,
				legend: 'right',
				yAxis: {title: '(thousands)'}
			});

			// Message
			notify('Chart updated');
		};

	</script>

	<script type="text/javascript">

		/*
		 * This script shows how to setup the various template plugins and functions
		 */

		$(document).ready(function()
		{
			/*
			 * Example context menu
			 */

			// Context menu for all favorites
			$('.favorites li').bind('contextMenu', function(event, list)
			{
				var li = $(this);

				// Add links to the menu
				if (li.prev().length > 0)
				{
					list.push({ text: 'Move up', link:'#', icon:'up' });
				}
				if (li.next().length > 0)
				{
					list.push({ text: 'Move down', link:'#', icon:'down' });
				}
				list.push(false);	// Separator
				list.push({ text: 'Delete', link:'#', icon:'delete' });
				list.push({ text: 'Edit', link:'#', icon:'edit' });
			});

			// Extra options for the first one
			$('.favorites li:first').bind('contextMenu', function(event, list)
			{
				list.push(false);	// Separator
				list.push({ text: 'Settings', icon:'terminal', link:'#', subs:[
					{ text: 'General settings', link: '#', icon: 'blog' },
					{ text: 'System settings', link: '#', icon: 'server' },
					{ text: 'Website settings', link: '#', icon: 'network' }
				] });
			});

			/*
			 * Dynamic tab content loading
			 */

			$('#tab-comments').onTabShow(function()
			{
				$(this).loadWithEffect('ajax-tab.html'/*tpa=http://www.display-inline.fr/demo/constellation/template/ajax-tab.html*/, function()
				{
					notify('Content loaded via ajax');
				});
			}, true);

			/*
			 * Table sorting
			 */

			// A small classes setup...
			$.fn.dataTableExt.oStdClasses.sWrapper = 'no-margin last-child';
			$.fn.dataTableExt.oStdClasses.sInfo = 'message no-margin';
			$.fn.dataTableExt.oStdClasses.sLength = 'float-left';
			$.fn.dataTableExt.oStdClasses.sFilter = 'float-right';
			$.fn.dataTableExt.oStdClasses.sPaging = 'sub-hover paging_';
			$.fn.dataTableExt.oStdClasses.sPagePrevEnabled = 'control-prev';
			$.fn.dataTableExt.oStdClasses.sPagePrevDisabled = 'control-prev disabled';
			$.fn.dataTableExt.oStdClasses.sPageNextEnabled = 'control-next';
			$.fn.dataTableExt.oStdClasses.sPageNextDisabled = 'control-next disabled';
			$.fn.dataTableExt.oStdClasses.sPageFirst = 'control-first';
			$.fn.dataTableExt.oStdClasses.sPagePrevious = 'control-prev';
			$.fn.dataTableExt.oStdClasses.sPageNext = 'control-next';
			$.fn.dataTableExt.oStdClasses.sPageLast = 'control-last';

			// Apply to table
			$('.sortable').each(function(i)
			{
				// DataTable config
				var table = $(this),
					oTable = table.dataTable({
						/*
						 * We set specific options for each columns here. Some columns contain raw data to enable correct sorting, so we convert it for display
						 * @url http://www.datatables.net/usage/columns
						 */
						aoColumns: [
							{ bSortable: false },	// No sorting for this columns, as it only contains checkboxes
							{ sType: 'string' },
							{ bSortable: false },
							{ sType: 'numeric', bUseRendered: false, fnRender: function(obj) // Append unit and add icon
								{
									return '<small><img src="images/icons/fugue/image.png"/*tpa=http://www.display-inline.fr/demo/constellation/template/images/icons/fugue/image.png*/ width="16" height="16" class="picto"> '+obj.aData[obj.iDataColumn]+' Ko</small>';
								}
							},
							{ sType: 'date' },
							{ sType: 'numeric', bUseRendered: false, fnRender: function(obj) // Size is given as float for sorting, convert to format 000 x 000
								{
									return obj.aData[obj.iDataColumn].split('.').join(' x ');
								}
							},
							{ bSortable: false }	// No sorting for actions column
						],

						/*
						 * Set DOM structure for table controls
						 * @url http://www.datatables.net/examples/basic_init/dom.html
						 */
						sDom: '<"block-controls"<"controls-buttons"p>>rti<"block-footer clearfix"lf>',

						/*
						 * Callback to apply template setup
						 */
						fnDrawCallback: function()
						{
							this.parent().applyTemplateSetup();
						},
						fnInitComplete: function()
						{
							this.parent().applyTemplateSetup();
						}
					});

				// Sorting arrows behaviour
				table.find('thead .sort-up').click(function(event)
				{
					// Stop link behaviour
					event.preventDefault();

					// Find column index
					var column = $(this).closest('th'),
						columnIndex = column.parent().children().index(column.get(0));

					// Send command
					oTable.fnSort([[columnIndex, 'asc']]);

					// Prevent bubbling
					return false;
				});
				table.find('thead .sort-down').click(function(event)
				{
					// Stop link behaviour
					event.preventDefault();

					// Find column index
					var column = $(this).closest('th'),
						columnIndex = column.parent().children().index(column.get(0));

					// Send command
					oTable.fnSort([[columnIndex, 'desc']]);

					// Prevent bubbling
					return false;
				});
			});

			/*
			 * Datepicker
			 * Thanks to sbkyle! http://themeforest.net/user/sbkyle
			 */
			$('.datepicker').datepick({
				alignment: 'bottom',
				showOtherMonths: true,
				selectOtherMonths: true,
				renderer: {
					picker: '<div class="datepick block-border clearfix form"><div class="mini-calendar clearfix">' +
							'{months}</div></div>',
					monthRow: '{months}',
					month: '<div class="calendar-controls" style="white-space: nowrap">' +
								'{monthHeader:M yyyy}' +
							'</div>' +
							'<table cellspacing="0">' +
								'<thead>{weekHeader}</thead>' +
								'<tbody>{weeks}</tbody></table>',
					weekHeader: '<tr>{days}</tr>',
					dayHeader: '<th>{day}</th>',
					week: '<tr>{days}</tr>',
					day: '<td>{day}</td>',
					monthSelector: '.month',
					daySelector: 'td',
					rtlClass: 'rtl',
					multiClass: 'multi',
					defaultClass: 'default',
					selectedClass: 'selected',
					highlightedClass: 'highlight',
					todayClass: 'today',
					otherMonthClass: 'other-month',
					weekendClass: 'week-end',
					commandClass: 'calendar',
					commandLinkClass: 'button',
					disabledClass: 'unavailable'
				}
			});
		});

		// Demo modal
		function openModal()
		{
			$.modal({
				content: '<p>This is an example of modal window. You can open several at the same time (click button below!), move them and resize them.</p>'+
						  '<p>The plugin provides several other functions to control them, try below:</p>'+
						  '<ul class="simple-list with-icon">'+
						  '    <li><a href="javascript:void(0)" onclick="$(this).getModalWindow().setModalTitle(\'\')">Remove title</a></li>'+
						  '    <li><a href="javascript:void(0)" onclick="$(this).getModalWindow().setModalTitle(\'New title\')">Change title</a></li>'+
						  '    <li><a href="javascript:void(0)" onclick="$(this).getModalWindow().loadModalContent(\'ajax-modal.html\')">Load Ajax content</a></li>'+
						  '</ul>',
				title: 'Example modal window',
				maxWidth: 500,
				buttons: {
					'Open new modal': function(win) { openModal(); },
					'Close': function(win) { win.closeModal(); }
				}
			});
		}

	</script>

</body>
</html>
</html>